Skip to main content

Update script

Update a Cloud-Code script. Please check Parameter parsing for scripts to see how the command parse parameter in script.

If you plan to create multiple scripts, checkout Deploy.

Command

Authentication Required: Yes

ugs cloud-code update <script-name> <file-path> [options]

Arguments

<script-name> The name of the script to update

<file-path> File path of the script to copy

Options

OptionAliasDescription
project-id-p, --project-idThe Unity cloud project ID.
environment-e, --environment-nameThe services environment name.
help-?, -h, --helpDisplay help and usage information.
quiet-q, --quietReduce logging to a minimum.
json-j, --jsonUse JSON as the output format.